<template>
  <div class="box">
    <div class="top">
      <a @click="back()">&lt;</a>
      <b>消息中心</b>
      <span class="iconfont home-caidan-01"></span>
    </div>
    <ul>
      
        <li>
          <h4><router-link to="/Fans"><span class="iconfont my-shoucang"></span></router-link></h4>
          <p>粉丝</p>
        </li>
      
      <li>
        <h4 style="background-color: #ffede9">
          <span class="iconfont public-dianzan" style="color: #ff5035"></span>
        </h4>
        <p>赞</p>
      </li>
      <li>
        <h4 style="background-color: #ffe4f3">
          <span class="iconfont my-wenjuan" style="color: #ff008d"></span>
        </h4>
        <p>弹幕</p>
      </li>
      <li>
        <h4 style="background-color: #fff4e6">
          <span class="iconfont public-pinglun" style="color: #ff9000"></span>
        </h4>
        <p>评论</p>
      </li>
    </ul>
  </div>
</template>

<script>
export default {
  name: "Newsnav",
  methods: {
    back() {
      this.$router.back();
    },
  },
};
</script>

<style scoped>
@import url("../../../assets/iconfont/iconfont.css");
.box {
  width: 100%;
  padding: 0 0.18rem;
  box-sizing: border-box;
}
.box .top {
  width: 100%;
  height: 0.3rem;
  display: flex;
  justify-content: space-between;
  line-height: 0.3rem;
}
.box strong {
  font-size: 0.18rem;
}
.box span {
  font-size: 0.3rem;
}
.box ul {
  width: 100%;
  height: 0.86rem;
  margin-top: 0.43rem;
  display: flex;
  justify-content: space-between;
}
.box ul li {
  width: 25%;
  height: 0.86rem;
  text-align: center;
}
.box ul li h4 {
  width: 0.54rem;
  height: 0.54rem;
  background-color: #e5f9fa;
  text-align: center;
  border-radius: 50%;
  line-height: 0.54rem;
  margin-left: 0.2rem;
}
.box ul li span {
  font-size: 0.24rem;
  color: #01c8d4;
}
.box ul li p {
  font-size: 0.15rem;
  margin-top: 0.08rem;
}
</style>
